package com.iacrqq.sedaf.common;

/**
 * 
 * @author sihai
 *
 */
public interface Destroyable {
	/**
	 * Called when an module is destroyed. This method should perform any
	 * cleanup or shutdown operations as required by the application before the
	 * event handler is removed from the system.
	 * 
	 * @exception Exception
	 *                The module can indicate an error to the runtime
	 *                during shutdown by throwing an Exception.
	 */
	public void destroy() throws Exception;
}
